/*
 * Sender.h
 *
 *  Created on: 12 Apr 2011
 *      Author: s88900
 */

#ifndef SENDER_H_
#define SENDER_H_

#include "conc/Thread.h"
#include "PanoramaBuffer.h"
#include <iostream>

using namespace std;

class Sender : public Thread{
private:
	PanoramaBuffer* buffer;
	string frame;
public:
	Sender(PanoramaBuffer*);
	void run();
	void newFrame();
	void print();
	virtual ~Sender();
};

#endif /* SENDER_H_ */
